# rubtools_completion.zsh

_rubtools_complete() {
  local word completions
  word="$1"
  completions="$(rt --cmplt "${word}")"
  reply=( "${(ps:\n:)completions}" )
}

compctl -f -K _rubtools_complete -S "" rt
